/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.market.dao;

import java.util.List;

import com.kaaction.common.persistence.CrudDao;
import com.kaaction.common.persistence.annotation.MyBatisDao;
import com.kaaction.modules.market.entity.EventChannel;

/**
 * 活动与渠道DAO接口
 * @author zengbiao
 * @version 2017-04-20
 */
@MyBatisDao
public interface EventChannelDao extends CrudDao<EventChannel> {

	List<EventChannel> findListByEventId(String eventId);

	void deleteByEventId(String eventId);

	EventChannel getByEventAndChannel(String eventId, String channelId);
	
}